{extend name="base" /}
{block name="main"}
{volist name="res" id="vo"}
<div class="col-md-10">

    <div class="card">
        <div class="card-body">
            <img class="img-fluid" src="__STATIC__/uploads/{$vo.preach_pic}" alt="Chania" style="width: 600px;height: 200px;">
            <form action="{:url('xj/updatexj',['preach_id'=>$vo.preach_id])}" enctype="multipart/form-data"  method="POST">
                <div class="form-group">
                    <label for="text">宣讲名:</label>
                    <input type="text" class="form-control" id="email" name="preach_name" value="{$vo.preach_name}">
                </div>
                <div class="form-group">
                    <label for="text">宣讲地点:</label>
                    <input type="text" class="form-control" id="email" name="preach_site" value="{$vo.preach_site}">
                </div>
                <div class="form-group">
                    <label for="text">宣讲时间:</label>
                    <input type="text" class="form-control" id="email" name="preach_beigin_time" value="{$vo.preach_beigin_time}">
                </div>
                <div class="form-group">
                    <label for="text">宣讲简介:</label>
                    <textarea class="form-control" rows="5" id="comment" name="preach_info">{$vo.preach_info}</textarea>
                </div>
                <div class="form-group">
                    <div class="custom-file">
                        <input type="file" class="custom-file-input" id="customFile" name="preach_pic">
                        <label class="custom-file-label" for="customFile">选择文件</label>
                      </div>
                </div>                                         
                <button type="submit" class="btn btn-primary">修改</button>
            </form>
        </div>
    </div>
</div>
{/volist}
{/block}